package com.dhsc.local.dao.impl.yypt;

import com.dhsc.domain.yypt.yhzx.TJgxxVo;
import com.dhsc.domain.yypt.yhzx.TYhxxVo;
import com.dhsc.local.dao.yypt.IYhzxDao;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName: YhzxDaoImpl
 * @Description: 用户中心
 * @date: 2023/12/18 14:25
 * @author: gx
 */
@Repository("yhzxdao")
public class YhzxDaoImpl implements IYhzxDao {

    @Autowired
    private SqlSessionTemplate localSqlSessionTemplate;

    @Override
    public List<TYhxxVo> queryTYhxx(TYhxxVo y) {
        return localSqlSessionTemplate.selectList("queryTYhxx",y);
    }

    @Override
    public List<TJgxxVo> queryTJgxx(TJgxxVo j) {
        return localSqlSessionTemplate.selectList("queryTJgxx",j);
    }

    @Override
    public List<TJgxxVo> queryTJgxxKhqxAll(TJgxxVo j) {
        return localSqlSessionTemplate.selectList("TYhzxMapper.queryTJgxxKhqxAll",j);
    }
}
